<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="../css/style.css">
</head>
<body>


<%-include("header") %>
	<div class="box">
		<% for (let i = 0; i < result.length; i++) { %>
			<ul class="news">
				<li>
					<div class="uinfo">
						<a href="#">
							<img src="<%=result[i].user.imgpath  %>">
							<div><%=result[i].user.user%></div>
						</a>
					</div>
					<div class="cbox">
						<div class="content">
							<a href="/info/<%=result[i]._id%>">
								<p><%=result[i].title%></p>
								<p>
									<%=result[i].context%>
								</p>
							</a>
						</div>
						<div>
							<span>浏览(<%=result[i].browse%>)</span>
							<span>评论(<%=result[i].comment%>)</span>
						</div>
					</div>
				</li>
			</ul>	
				
		<% 	} %>
		
	</div>
</body>
</html>